package io.renren.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.entity.OrdersEntity;
import io.renren.entity.OrdersproductEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-03-26 16:07:11
 */
@Mapper
public interface OrdersDao extends BaseMapper<OrdersEntity> {
    List<OrdersEntity> getOrderList(@Param("userid") Integer userid, @Param("type") Integer type);

    List<OrdersproductEntity> getOrderProductByOrderNum(@Param("orderNum") String orderNum);
	
}
